﻿@model RTW.OA.Models.email_body
@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/_LayoutBase.cshtml";
}

@section styles{
    <link href="@Url.Content("~/Content/css/common/bootstrap-table/bootstrap-table.min.css")" rel="stylesheet" />
    <link href="@Url.Content("~/Content/css/common/animate/animate.min.css")" rel="stylesheet" />
    <link href="@Url.Content("~/Content/css/common/iCheck/custom.css")" rel="stylesheet" />
    <link href="@Url.Content("~/Content/css/hplus/style.css")" rel="stylesheet" />
    <link href="@Url.Content("~/Content/css/hplus/font-awesome.css?v=4.4.0")" rel="stylesheet" />
    <link href="@Url.Content("~/Content/css/summernote/summernote-bs3.css")" rel="stylesheet" />
    <link href="@Url.Content("~/Content/css/summernote/summernote.css")" rel="stylesheet" />
}
   
    <div class="wrapper wrapper-content">
        <div class="row">
           
            <div class="col-sm-12 animated fadeInRight">
                <div class="mail-box-header">
                    <div class="pull-right tooltip-demo"> </div>
                    <h2>
                        查看邮件
                    </h2>
                    <div class="mail-tools tooltip-demo m-t-md">

                        <h3>
                            <span class="font-noraml">主题： </span>
                            @(new HtmlString(ViewBag.SUBJECT))
                        </h3>
                        <h5>
                            <span class="pull-right font-noraml"> 发送时间：  @ViewBag.SEND_TIME</span>
                            <span class="font-noraml">发件人： </span>@(new HtmlString(ViewBag.FROM_ID)) 
                        </h5>
                    </div>
                </div>
                <div class="mail-box">                
                    <div class="mail-body" id="emaildetails">
                        @(new HtmlString(ViewBag.CONTENT))
                    </div>
                    <div class="clearfix"></div>

                </div>
            </div>
        </div>
    </div>

@section scripts{
    <script src="@Url.Content("~/Content/JS/common/WdatePicker/WdatePicker.js")"></script>
    <script type="text/javascript" charset="utf-8" src="@Url.Content("~/Content/JS/common/jquery/Validform_v5.3.2_min.js")"></script>
    <script type="text/javascript" charset="utf-8" src="@Url.Content("~/Content/JS/common/artdialog/dialog-plus-min.js")"></script>
    <script type="text/javascript" charset="utf-8" src="@Url.Content("~/Content/JS/common/webuploader/webuploader.min.js")"></script>
    <script type="text/javascript" charset="utf-8" src="@Url.Content("~/Content/editor/ueditor.config.js")"></script>
    <script type="text/javascript" charset="utf-8" src="@Url.Content("~/Content/editor/ueditor.all.min.js")"></script>
    <script type="text/javascript" charset="utf-8" src="@Url.Content("~/Content/editor/lang/zh-cn/zh-cn.js")"></script>
    <script src="@Url.Content("~/Content/JS/common/from.js")"></script>

    <script>
        function backfrom() {
             location.href = "@Url.Action("Index", "EMail", new { area = "Personal" })";
        }
    </script>
}

